<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=7" />
<title>提取确认信息</title>
<script type="text/javascript">
	

</script>
</head>
<body>
	<div class="pageContent">
		<form class="pageForm required-validate" action="checkProcessInfoAction.action" method="post"  onsubmit="return validateCallback(this, navTabAjaxDone);">
			<input type="hidden" name="rightId" value="${rightId}" /> 
			<input name="id" value="<s:property value='#request.processInfo.id' />" type="hidden" />
			<input name="courierId" value="<s:property value='#request.processInfo.courierId' />" type="hidden" />
			<input name="dealMoney" value="<s:property value='#request.processInfo.dealMoney' />" type="hidden" />
			<div class="pageFormContent" layoutH="86">
				<table>
					<tr><td>提取信息</td></tr>
					<tr>					
						<td><HR align=left width="500%"  SIZE=2/></td>						
					</tr>		
					<tr>
						<td>流水号：</td>
						<td>${processInfo.serialNumber}</td>
					</tr>
					<tr><td>&nbsp;&nbsp;&nbsp;&nbsp;</td></tr>
					<tr>
						<td>快递员名称：</td>
						<td>${processInfo.courierName}</td>
					</tr>
					<tr><td>&nbsp;&nbsp;&nbsp;&nbsp;</td></tr>
					<tr>
						<td>流水类型：</td>
						<s:if test="#request.processInfo.processType==0">
							<td>提取</td></s:if>
						<s:elseif test="#request.processInfo.processType==1">
							<td>转入</td>
						</s:elseif>	
						
					</tr>
					<tr><td>&nbsp;&nbsp;&nbsp;&nbsp;</td></tr>
					<tr>
						<td>流水状态：</td>
						<s:if test="#request.processInfo.processStatus==0">
								<td>处理中</td>	</s:if>
							<s:elseif test="#request.processInfo.processStatus==1">
								<td>失败</td></s:elseif>	
							<s:elseif test="#request.processInfo.processStatus==2">
								<td>成功</td></s:elseif>	
						
					</tr>
					<tr><td>&nbsp;&nbsp;&nbsp;&nbsp;</td></tr>
					<tr>
						<td>处理金额：</td>
						<td>${processInfo.dealMoney}</td>
					</tr>
					<tr><td>&nbsp;&nbsp;&nbsp;&nbsp;</td></tr>
					<tr>
						<td>余额：</td>
						<td>${processInfo.balance}</td>
					</tr>
					<tr><td>&nbsp;&nbsp;&nbsp;&nbsp;</td></tr>
					<tr>
						<td>银行名称：</td>
						<td>${processInfo.bankName}</td>
					</tr>
					<tr><td>&nbsp;&nbsp;&nbsp;&nbsp;</td></tr>
					<tr>
						<td>银行卡号：</td>
						<td>${processInfo.bankCard}</td>
					</tr>
					<tr><td>&nbsp;&nbsp;&nbsp;&nbsp;</td></tr>
					<tr>
						<td>持卡者名称：</td>
						<td>${processInfo.ownerName}</td>
					</tr>
					<tr><td>&nbsp;&nbsp;&nbsp;&nbsp;</td></tr>
					<tr>
						<td>处理时间：</td>
						<td>${processInfo.motifyTime}</td>
					</tr>
					<tr><td>&nbsp;&nbsp;&nbsp;&nbsp;</td></tr>
					<tr>
						<td>基础订单号：</td>
						<td>${processInfo.baseOrderNo}</td>
					</tr>
					<tr><td>&nbsp;&nbsp;&nbsp;&nbsp;</td></tr>					
					<tr>
						<td><HR align=left width="500%"  SIZE=2/></td>

					</tr>	
					<tr><td>转出金额</td></tr>		
					<tr><td>&nbsp;&nbsp;&nbsp;&nbsp;</td></tr>
					<tr>
						<td>提现金额：</td>
						<td>${processInfo.dealMoney}</td>
					</tr>
					<tr><td>&nbsp;&nbsp;&nbsp;&nbsp;</td></tr>	
					<tr>
						<td>手续费：</td>
						<td>${shouxufei}</td>
					</tr>
					<tr><td>&nbsp;&nbsp;&nbsp;&nbsp;</td></tr>	
					<tr>
						<td>实际金额：</td>
						<td>${shijijine}</td>
					</tr>
					<tr>
						<td><HR align=left width="500%"  SIZE=2/></td>

					</tr>	
					
					<tr>
						<s:if test="#request.processInfo.processStatus==0">
						<td><input type="radio" name="processStatus" value="2" checked="checked"/>提取成功</td>
						<td><input type="radio" name="processStatus" value="1"/>提取失败</td></s:if>
						<s:elseif test="#request.processInfo.processStatus==1">						
						</s:elseif>	
					</tr>	
					<tr><td>&nbsp;&nbsp;&nbsp;&nbsp;</td></tr>				
					<tr>
						<td>&nbsp;&nbsp;详情：</td>
						<s:if test="#request.processInfo.processStatus==0">
						<td><textarea class="required"  name="detail" rows="2" cols="102" >${processInfo.detail},扣除手续费${shouxufei}元,实际到账${shijijine}。</textarea></td></s:if>
						<s:elseif test="#request.processInfo.processStatus==1">	
						<td><textarea class="required"  name="detail" rows="2" cols="102" disabled="disabled">${processInfo.detail},扣除手续费${shouxufei}元,实际到账${shijijine}。</textarea></td>					
						</s:elseif>	
						<s:elseif test="#request.processInfo.processStatus==2">	
						<td><textarea class="required"  name="detail" rows="2" cols="102" disabled="disabled">${processInfo.detail},扣除手续费${shouxufei}元,实际到账${shijijine}。</textarea></td>					
						</s:elseif>	
						
					</tr>
				</table>
			</div>
			<div class="formBar">
				<ul>
					<li>
						<div class="buttonActive">
							<div class="buttonContent">
							<s:if test="#request.processInfo.processStatus==0">
								<button type="submit">提取确认</button>
								</s:if>
								<s:elseif test="#request.processInfo.processStatus==1">
								<button type="submit" disabled="disabled">提取确认</button>	
								</s:elseif>	
								<s:elseif test="#request.processInfo.processStatus==2">
								<button type="submit" disabled="disabled">提取确认</button>	
								</s:elseif>	
							
							</div>
						</div>
					</li>
					<li>
						<div class="button">
							<div class="buttonContent">
								<button type="button" class="close">取消</button>
							</div>
						</div>
					</li>
				</ul>
			</div>
		</form>
	</div>
</body>
</html>
